﻿@model ABCTile.Models.Company

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
	<legend>Company:</legend>

	<div class="display-label">Company ID:</div>
	<div class="display-field">@Html.DisplayFor(model => model.ID)</div>
    
	<div class="display-label">Company Name:</div>
	<div class="display-field">@Html.DisplayFor(model => model.Company_Name)</div>


    <div class="display-label">Branch Sequence:</div>
	<div class="display-field">@Html.DisplayFor(model => model.Branch_Seq)</div>

    <div class="display-label">Contact Role:</div>
	<div class="display-field"> @Html.DisplayFor(model => model.Contact_Role)</div>

    <div class="display-label">Contact Person ID:</div>
	<div class="display-field">@Html.DisplayFor(model => model.Contact_Person_ID)</div>

    <div class="display-label">Office Phone:</div>
	<div class="display-field">@Html.DisplayFor(model => model.Office_Phone)</div>

    <div class="display-label">Office Fax:</div>
    <div class="display-field">@Html.DisplayFor(model => model.Office_Fax)</div>

    <div class="display-label">Cell Phone:</div>
    <div class="display-field">@Html.DisplayFor(model => model.Cell_Phone)</div>

    <div class="display-label">Company Website:</div>
    <div class="display-field">
		@{
			string url = "http://" + Html.DisplayFor(model => model.Company_url);
		}
		<a target=_blank href=@url>@Html.DisplayFor(model => model.Company_url)</a>
    </div>

    <div class="display-label">Street Address:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Street_Address)<br />
		@Html.DisplayFor(model => model.City) , @Html.DisplayFor(model => model.State) @Html.DisplayFor(model => model.Zip)
    </div>

    <div class="display-label">Comments:</div>
    <div class="display-field">@Html.DisplayFor(model => model.Comments)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
